myApp.controller("LoginController",["$scope","LoginService","$location",function($scope,LoginService,$location){
	
	console.log($location.path());
	
	$scope.display_data=LoginService.display_data;
	//console.log(LoginService);
	$scope.loginHandle=function(submit_url){
		LoginService.loginHandle(submit_url,$scope.submit_data);		
	}

	
}])

